package com.idlestar.androiddocs.view.activity;

import android.app.Activity;
import android.os.Bundle;

import com.idlestar.androiddocs.R;
import com.idlestar.androiddocs.view.widget.RoundCornerImageView;
import com.idlestar.androiddocs.view.widget.RoundCornerImageView1;

public class RoundCornerActivity extends Activity {

    private RoundCornerImageView1 img_1;
    private RoundCornerImageView img_2;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_round_corner);

        img_1 = (RoundCornerImageView1) findViewById(R.id.img_1);
        img_2 = (RoundCornerImageView) findViewById(R.id.img_2);

        img_1.setRadius(80f, 0f, 80, 0);
        img_2.setRadius(80f, 0f, 80, 0);
    }
}
